package com.woniu.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;



@Builder
@Accessors(chain = true)
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("登陆返回信息")
public class TokenVO implements Serializable {

    private static final long serialVersionUID = -4017770971773876263L;

    @ApiModelProperty(value = "登陆密钥", position = 1)
    @JSONField(ordinal = 1)
    private String token;

    @ApiModelProperty(value = "用户信息", position = 2)
    @JSONField(ordinal = 2)
    private UserVO user;


//    @ApiModelProperty(value = "用户业委会列表", position = 6)
//    @JSONField(ordinal = 6)
//    private List<OwnersCommitteeInformationSelectVO> ownersCommitteeList = new ArrayList<>();

}
